<!DOCTYPE html>
<html   xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head/>
    <h:body>
        <p:tabView>
            <p:tab title="Tab One">
                <h:outputText value="Lorem" />
            </p:tab>
            <p:tab title="Tab Two">
                <h:outputText value="Ipsum" />
            </p:tab>
            <p:tab title="Tab Three">
                <h:outputText value="Dolor" />
            </p:tab>
        </p:tabView>
        
        <p:tabView dynamic="true" cache="false" effect="fade">
            <p:tab title="Tab One">
                <h:outputText value="Lorem" />
            </p:tab>
            <p:tab title="Tab Two">
                <h:outputText value="Ipsum" />
            </p:tab>
            <p:tab title="Tab Three">
                <h:outputText value="Dolor" />
            </p:tab>
        </p:tabView>
    </h:body>
</html>
